home *** CD-ROM | disk | FTP | other *** search
- Path: easy.in-chemnitz.de!mkmk!floh
- From: floh@mkmk.in-chemnitz.de (Andre Weissflog)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: screenmode + screen opening??
- Message-ID: <Uj6by*BG0@mkmk.in-chemnitz.de>
- Date: Sat, 02 Mar 1996 19:39:36 CET
- Reply-To: floh@mkmk.in-chemnitz.de
- References: <4h6pu4$1kt@ramus.apana.org.au>
- Distribution: world
- Organization: private uucp site
- X-Newsreader: Arn V 1.04
-
- In article <4h6pu4$1kt@ramus.apana.org.au>, Bob Rye writes:
-
- > hiya. got a question about screenmodes and screen opening
- > in C. i have a screen to open, based on available
- > and chosen screenmodes. this screen could be an ECS
- > screen or a Picasso 800x600x256 etc.
- >
- > i am using the ASL screenmode req to find this:
- > DisplayInfoHandle = (FindDisplayInfo(fr->sm_DisplayID));
- >
- > now, where do i use this information to help open this
- > screen? do i poke this displayinfohandle somewhere in
- > the newscreen struct? help! :)
- >
-
- Better use OpenScreenTags():
-
- struct Screen *scr;
- scr = OpenScreenTags(NULL,
- SA_DisplayID, smreq->sm_DisplayID,
- SA_Width, smreq->sm_DisplayWidth,
- SA_Height, smreq->sm_DisplayHeight,
- /* etc... */
- TAG_DONE);
-
- Bye,
- -Floh.
-
- ====//=== Andre Weissflog <floh@mkmk.in-chemnitz.de> =======
- ...// Sep'95: Return Of The Living Death...................
- \\// 90% of everything is crap (Sturgeon's Law)...........
- =\\===============================================Amiga!=
-
-